package
{
	import flash.display.Sprite;
	import flash.utils.setTimeout;
	
	import k3.event.KEvent;

	public class Circle extends Sprite
	{
		public var id:int;
		public function Circle()
		{
			super();
			this.mouseChildren=false;
			this.mouseEnabled=false;
			this.graphics.beginFill(0xff0000,1);
			this.graphics.drawRect(0,00,40,40);
			this.graphics.endFill();
			setTimeout(removeThis,300);
		}
		
		private function removeThis():void
		{
			this.dispatchEvent(new KEvent("remove",[this.x,this.y,this.id]));
		}
	}
}